<?php /* Smarty version 2.6.26, created on 2014-10-08 14:22:28
         compiled from D:/wamp/www/wenda/Index/Tpl/Member/index.html */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'date_format', 'D:/wamp/www/wenda/Index/Tpl/Member/index.html', 68, false),)), $this); ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
	<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
	<title>问答系统</title>
	<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => '../common/head.html', 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
	<link rel="stylesheet" href="<?php echo @__PUBLIC__; ?>
/Css/member.css" />
<!-- top结束 -->
<!--------------------中部-------------------->
	<div id='center'>
<!-- 左侧 -->
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => '../common/left.html', 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
<!-- 左侧结束 -->
		<div id='right'>
	
			<p class='title'><?php echo $this->_tpl_vars['rank']; ?>
的首页</p>

			<ul class='property'>
				<li>金币：<span><?php echo $this->_tpl_vars['userInfo']['point']; ?>
</span></li>
				<li>经验值：<span><?php echo $this->_tpl_vars['userInfo']['exp']; ?>
</span></li>
				<li>采纳率：<span><?php echo $this->_tpl_vars['userInfo']['ratio']; ?>
%</span></li>
			</ul>
			<div class='list'>
				<p><span><?php echo $this->_tpl_vars['rank']; ?>
的提问 <b>(共<?php echo $this->_tpl_vars['userInfo']['ask']; ?>
条)</b></span><a href="<?php echo @__ROOT__; ?>
?c=member&m=my_ask&uid=<?php echo $_GET['uid']; ?>
">更多>></a></p>
				<table>
						<?php if (! $this->_tpl_vars['my_ask']): ?>
						<tr height='140'>
							<td>你还没有进行过提问</td>
						</tr>
						<?php else: ?>

						<tr>
							<th class='t1'>标题</th>
							<th>回答数</th>
							<th class='t3'>更新时间</th>
						</tr>
						<?php $_from = $this->_tpl_vars['my_ask']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['k'] => $this->_tpl_vars['v']):
?>
						<tr>
							<td class='t1'>
								<a href="<?php echo @__ROOT__; ?>
?c=show&asid=<?php echo $this->_tpl_vars['v']['asid']; ?>
"><?php echo $this->_tpl_vars['v']['content']; ?>
</a><span>[<?php echo $this->_tpl_vars['v']['title']; ?>
]</span>
							</td>
							<td><?php echo $this->_tpl_vars['v']['answer']; ?>
</td>
							<td class='t3'><?php echo $this->_tpl_vars['v']['time']; ?>
</td>
						</tr>
						<?php endforeach; endif; unset($_from); ?>
						<?php endif; ?>
				</table>
			</div>
			<div class='list'>
				<p><span><?php echo $this->_tpl_vars['rank']; ?>
的回答 <b>(共<?php echo $this->_tpl_vars['userInfo']['answer']; ?>
条)</b></span><a href="<?php echo @__ROOT__; ?>
?c=member&m=my_answer&uid=<?php echo $_GET['uid']; ?>
">更多>></a></p>
				<table>
					<?php if (! $this->_tpl_vars['my_answer']): ?>
					<tr height='140'>
						<td>你还没有进行过回答</td>
					</tr>
					<?php else: ?>
					<tr>
						<th class='t1'>标题</th>
						<th>回答</th>
						<th class='t3'>更新时间</th>
					</tr>
					<?php $_from = $this->_tpl_vars['my_answer']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['k'] => $this->_tpl_vars['v']):
?>
					<tr>
						<td class='t1'>
							<a href="<?php echo @__ROOT__; ?>
?c=show&asid=<?php echo $this->_tpl_vars['v']['asid']; ?>
"><?php echo $this->_tpl_vars['v']['content']; ?>
</a><span>[<?php echo $this->_tpl_vars['v']['title']; ?>
]</span>
						</td>
						<td><?php echo $this->_tpl_vars['v']['answer']; ?>
</td>
						<td class='t3'><?php echo ((is_array($_tmp=$this->_tpl_vars['v']['time'])) ? $this->_run_mod_handler('date_format', true, $_tmp, "%Y-%m-%d") : smarty_modifier_date_format($_tmp, "%Y-%m-%d")); ?>
</td>
					</tr>
					<?php endforeach; endif; unset($_from); ?>
					<?php endif; ?>

				</table>
			</div>
		</div>
	</div>
<!--------------------中部结束-------------------->

<!--------------------底部-------------------->
<!-- 底部 -->
	<div id='bottom'>
		<p>Copyright © 2013 Qihoo.Com All Rights Reserved 廖东廷</p>
		<p>京公安网备xxxxxxxxxxxx</p>
	</div>
<!--[if IE 6]>
    <script type="text/javascript" src="<?php echo @__PUBLIC__; ?>
/Js/iepng.js"></script>
    <script type="text/javascript">
    	DD_belatedPNG.fix('.logo','background');
        DD_belatedPNG.fix('.nav-sel a','background');
        DD_belatedPNG.fix('.ask-cate i','background');
    </script>
<![endif]-->
</body>
</html>
<!-- 底部结束 -->